package com.hezhi.project.module.teacherClasses.domain;

import com.hezhi.framework.web.domain.BaseEntity;
import com.hezhi.project.module.classes.domain.Classes;
import com.hezhi.project.module.teacher.domain.Teacher;

/**
 * 教师与班级绑定表 db_teacher_classes
 * 
 * @author hezhi
 * @date 2018-08-17
 */
public class TeacherClasses extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer id;
	/** 教师主键 */
	private String teacherNumber;
	/** 班级主键 */
	private String classNumber;
	/** 教授科目 */
	private String subject;
	private Teacher teacher;
	private Classes classes;

	/**
	 * 设置：主键
	 */
	public void setId(Integer id) 
	{
		this.id = id;
	}
	
	/**
	 * 获取：主键
	 */
	public Integer getId() 
	{
		return id;
	}
	
	/**
	 * 设置：教师主键
	 */
	public void setTeacherNumber(String teacherNumber) 
	{
		this.teacherNumber = teacherNumber;
	}
	
	/**
	 * 获取：教师主键
	 */
	public String getTeacherNumber() 
	{
		return teacherNumber;
	}
	
	/**
	 * 设置：班级主键
	 */
	public void setClassNumber(String classNumber) 
	{
		this.classNumber = classNumber;
	}
	
	/**
	 * 获取：班级主键
	 */
	public String getClassNumber() 
	{
		return classNumber;
	}
	
	/**
	 * 设置：教授科目
	 */
	public void setSubject(String subject) 
	{
		this.subject = subject;
	}
	
	/**
	 * 获取：教授科目
	 */
	public String getSubject() 
	{
		return subject;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Classes getClasses() {
		return classes;
	}

	public void setClasses(Classes classes) {
		this.classes = classes;
	}
	
}
